package com.ruoyi.wetest.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 压测项目对象 wetest_projects
 * 
 * @author ruoyi
 * @date 2024-04-30
 */
public class WetestProjects extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目编号 */
    private String projectId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String prodectName;

    /** 累计压测次数 */
    @Excel(name = "累计压测次数")
    private Integer stressTimes;

    /** 当前启动客户端数量 */
    @Excel(name = "当前启动客户端数量")
    private Integer currentClient;

    /** 当前状态（0=未开始,1=压测中） */
    @Excel(name = "当前状态", readConverterExp = "0==未开始,1=压测中")
    private Integer status;

    public void setProjectId(String projectId) 
    {
        this.projectId = projectId;
    }

    public String getProjectId() 
    {
        return projectId;
    }
    public void setProdectName(String prodectName) 
    {
        this.prodectName = prodectName;
    }

    public String getProdectName() 
    {
        return prodectName;
    }
    public void setStressTimes(Integer stressTimes) 
    {
        this.stressTimes = stressTimes;
    }

    public Integer getStressTimes() 
    {
        return stressTimes;
    }
    public void setCurrentClient(Integer currentClient) 
    {
        this.currentClient = currentClient;
    }

    public Integer getCurrentClient() 
    {
        return currentClient;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projectId", getProjectId())
            .append("prodectName", getProdectName())
            .append("stressTimes", getStressTimes())
            .append("currentClient", getCurrentClient())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
